BubbleMetadata

Encapsulates the information needed to display a notification as a bubble.

A bubble is used to display app content in a floating window over the existing foreground activity. A bubble has a collapsed state represented by an icon, setIcon and an expanded state which is populated via setIntent.

Notifications with a valid and allowed bubble will display in collapsed state outside of the notification shade on unlocked devices. When a user interacts with the collapsed bubble, the bubble intent will be invoked and displayed.

See also

Types

Link copied to clipboard
class Builder
Builder to construct a BubbleMetadata object.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Dimension(unit = 0)
open fun getDesiredHeight(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setFlags(flags: Int)